/*eslint no-invalid-this: ["error", { "capIsConstructor": false }]*/

"use strict";

obj.Foo = function Foo() {
  // OK, this is in a method.
  this.a = 0;
};